export const ListenerTypes = [
  { listenerType: 'class', listenerValueLabel: 'java类' },
  { listenerType: 'expression', listenerValueLabel: '表达式' },
  { listenerType: 'delegateExpression', listenerValueLabel: '代理表达式' },
  { listenerType: 'script', listenerValueLabel: '脚本' }
]
export const ExecutionListenerTypes = [
  { eventType: 'start', eventTypeLabel: '开始' },
  { eventType: 'end', eventTypeLabel: '结束' }
]
export const UserTaskListenerTypes = [
  { eventType: 'create', eventTypeLabel: '开始' },
  { eventType: 'assignment', eventTypeLabel: '分派' },
  { eventType: 'complete', eventTypeLabel: '完成' },
  { eventType: 'delete', eventTypeLabel: '删除' },
  { eventType: 'update', eventTypeLabel: '更新' },
  { eventType: 'timeout', eventTypeLabel: '超时' }
]

export const OperatorAllOptions = [
  { TEXT: '等于', VALUE: '==' },
  { TEXT: '不等于', VALUE: '!=' },
  { TEXT: '小于', VALUE: '<' },
  { TEXT: '大于', VALUE: '>' },
  { TEXT: '大于等于', VALUE: '>=' },
  { TEXT: '小于等于', VALUE: '<=' }
]
export const LogicOptions = [
  { TEXT: '无', VALUE: '' },
  { TEXT: '并且', VALUE: '&&' },
  { TEXT: '或者', VALUE: '||' }
]

export const DispatchVariable = {
  collection: 'dispatchUserList',
  elementVariable: 'dispatchUser'
}
